package AbstractFactory;

import AbstractFactory.domain.User;

/**
 * @author duanzhizhou
 * @date 2024/10/12
 */
public class MySqlUser implements IUser {
    @Override
    public User getUser(Long id) {
        System.out.println("MySql查询用户成功");
        return new User();
    }
    
    @Override
    public void addUser(User user) {
        System.out.println("MySql添加用户成功");
    }
}
